<h2 class="title">设备验收</h2>
<form action="index.php?c=zy_mc_auth&m=show&post=1" method=post name=frm>
<table class="tb_term" width="100%">
<tr>
	<td  class="tr_td_width01 alignright">验收报告编号</td>
	<td class="tr_td_width03"><input type="text" class="input_select_stand txt-normal" name="mc_auth_no" value="{%$mc_auth_no%}" /></td>
	<td  class="tr_td_width02 alignright">验收合同编号</td>
	<td><input type="text" class="input_select_stand txt-normal" name="contract_no" value="{%$contract_no%}"  /></td>
</tr>
<tr>	
	<td class="alignright">验收日期</td>
	<td colspan="3">
		<input type=text class="input_date_select txt-normal" name="mc_auth_start_time" id="mc_auth_start_time" maxlength="12" value='{%$mc_auth_start_time|date_format:"%Y-%m-%d"%}' readonly>
		<script>
			Calendar.setup({
				inputField     :    "mc_auth_start_time",   // id of the input field
				ifFormat       :    "%Y-%m-%d",       // format of the input field
				showsTime      :    false,
				timeFormat     :    "24"
			});
		</script>
		<label class="label01">至</label>
		<input type=text class="input_date_select txt-normal" name="mc_auth_end_time" id="mc_auth_end_time" maxlength="12" value='{%$mc_auth_end_time|date_format:"%Y-%m-%d"%}' readonly>
		<script>
			Calendar.setup({
				inputField     :    "mc_auth_end_time",   // id of the input field
				ifFormat       :    "%Y-%m-%d",       // format of the input field
				showsTime      :    false,
				timeFormat     :    "24"
			});
		</script>
	</td>
</tr>
</table>
<p class="btn_right">
	<button type="submit" class="b-default" hidefocus="true"><span><em>查询</em></span></button>
	<button class="b-default" hidefocus="true" onclick="javascript:location.href='index.php?c=zy_mc_auth&m=add&contract_no={%$contract_no%}';return false;"><span><em>添加</em></span></button>
</p>
</form>

<h2 class="title">结果显示</h2>
<table class="tb_list" width="100%">
<tr class="title">	
	<td class="list_td_zw_10">验收报告编号</td>
	<td class="list_td_zw_10">验收合同编号</td>
	<td class="list_date">开始日期</td>
	<td class="list_date">结束时间</td>
	<!--
	<th>验收状态</th>
	<th>验收报告</th>
	-->	
	<td class="list_td_zw_05">验收负责人</td>
	<td>验收报告备注</td>
	<td class="list_td_zw_opt02">操作</td>
</tr>
{%foreach from=$arr item=arr_item%}
<tr>
	<td class="alignleft" title="{%$arr_item.mc_auth_no%}">{%$arr_item.mc_auth_no%}</td>
	<td class="alignleft" title="{%$arr_item.contract_no%}">{%$arr_item.contract_no%}</td>
	<td>{%$arr_item.mc_auth_start_time|date_format:"%Y-%m-%d"%}</td>	
	<td>{%$arr_item.mc_auth_end_time|date_format:"%Y-%m-%d"%}</td>
	<!--
	<td>{%$arr_item.mc_auth_state%}</td>
	<td>{%$arr_item.mc_auth_info%}</td>
	-->	
	<td>{%$admin_info[$arr_item.admin_user_id]%}</td>
	<td class="alignleft" title="{%$arr_item.mc_auth_info%}">{%cut_str str=$arr_item.mc_auth_info sublen=12%}</td>
	<td>
		<a href='index.php?c=zy_mc_auth&m=browse&mc_auth_id={%$arr_item.mc_auth_id%}' hidefocus="true">详细</a>&nbsp;
		<a href='index.php?c=zy_mc_auth&m=edit&mc_auth_id={%$arr_item.mc_auth_id%}'>修改</a>
	</td>
</tr>
{%foreachelse%}
<tr><td colspan="7">暂无内容</td></tr>
{%/foreach%}
</table>

{%if $arr_item%}
<div class="pagenation aligncenter">
	<div id="pager">{%$page_footer%}</div>
</div>
{%/if%}